package com.hds.modules.sys.service.base.impl;


import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.hds.common.utils.PageUtils;
import com.hds.common.utils.Query;
import com.hds.modules.sys.dao.base.EsurerSmsRecordsDao;
import com.hds.modules.sys.dao.base.EsurerUserDao;
import com.hds.modules.sys.dao.base.HdsShopGoodsDao;
import com.hds.modules.sys.entity.esurer.EsurerUserEntity;
import com.hds.modules.sys.entity.esurer.HdsShopGoodsEntity;
import com.hds.modules.sys.service.base.EsurerUserService;
import com.hds.modules.sys.service.base.SysHdsShopGoodsService;
import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;


@Service("sysHdsShopGoodsService")
public class SysHdsShopGoodsServiceImpl extends ServiceImpl<HdsShopGoodsDao, HdsShopGoodsEntity> implements SysHdsShopGoodsService {

	@Autowired
	private HdsShopGoodsDao goodsDao;




	@Override
	public PageUtils queryPage(Map<String, Object> params) {

		Page<HdsShopGoodsEntity> page = this.selectPage(
				new Query<HdsShopGoodsEntity>(params).getPage(),
				new EntityWrapper<HdsShopGoodsEntity>()

		);


		return new PageUtils(page);
	}

}
